public static void bubbleSort(int [] a, int n) {
for (int i=0 ; i<n-1 ;i++){
for (int wll=0 ; wll<n-1-i ;wll++){
if (a[wll]>a[wll+1]) {
int temp=a[wll];
a[wll]=a[wll+1];
a[wll+1]=temp;
}
}
}
}
